From 0b8a1dcac252b3af1bf1c90721f35092ffa04448 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Sun, 3 Apr 2011 18:09:22 +0900 Subject: [PATCH] Fixed warning catch in gtk_window_compute_hints(). --- gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 16e5fb0d77..fb957617c7 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -7168,7 +7168,7 @@ gtk_window_compute_hints (GtkWindow *window, extra_width = requisition.width - TEMPORARY_SIZE; extra_height = requisition.height - TEMPORARY_SIZE; - if (extra_width < 0 || extra_width < 0) + if (extra_width < 0 || extra_height < 0) { g_warning("Toplevel size doesn't seem to directly depend on the " "size of the geometry widget from gtk_window_set_geometry_hints(). " -- 2.30.2